package com.wcfsy.wechat.wx.um.service;

import java.util.List;

import com.wcfsy.wechat.wx.exception.ServiceException;
import com.wcfsy.wechat.wx.um.entity.Menu;

public interface IMenuService {
	public Menu queryMenu(String paramString) throws ServiceException;

	public List<Menu> queryAllMenu() throws ServiceException;

	public List<Menu> queryTotalMenu() throws ServiceException;

	public void updateMenu(Menu paramMenu) throws ServiceException;

	public Menu getMenuById(long paramLong) throws ServiceException;

	public Long addMenu(Menu menu) throws ServiceException;

	public void deleteMenuById(long paramLong) throws ServiceException;

	public List<Menu> queryMenuByParam(Menu paramMenu) throws ServiceException;

	public List<Menu> queryMenuByParentId(Long paramLong)
			throws ServiceException;

	public void batchInsertMenu(List<Menu> paramList) throws ServiceException;

	public List<Menu> findMenuTree();
}